<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul{
            list-style: none;
        }
        li{
            width: 200px;
            height: 50px;
            border: 1px solid gray;
        }
        ul:hover li:nth-child(1){
            width: 600px;
            transition: all 2s linear;
        }
        ul:hover li:nth-child(2){
            width: 600px;
            transition: all 2s ease;
        }
        ul:hover li:nth-child(3){
            width: 600px;
            transition: all 2s ease-in;
        }
        ul:hover li:nth-child(4){
            width: 600px;
            transition: all 2s ease-out;
        }
        ul:hover li:nth-child(5){
            width: 600px;
            transition: all 2s ease-in-out;
        }

        /*贝塞尔曲线*/
        ul:hover li:nth-child(6){
            width: 600px;
            transition: all 2s cubic-bezier(.03,.92,.11,.98);
        }
    </style>
</head>
<body>
    <ul>
        <li>linear匀速</li>
        <li>ease逐渐慢下来</li>
        <li>ease-in加速</li>
        <li>ease-out减速</li>
        <li>ease-in-out先加速后减速</li>

        <li>cubit-bezier贝塞尔曲线</li>
        <a href="https://cubic-bezier.com/" target="_blank">贝塞尔曲线生成</a>
    </ul>
</body>
</html>